<template>
	<view>
		<view class="result">
			<view class="head">
				<image class="icon place"></image>
				支付成功！！支付失败
			</view>
			
			<view class="err-text">支付失败</view>
			<view class="btn1 btn3">重新支付</view>
			
			<view class="desc">精品大床房 冬季特惠 小而温馨 加州花园附近</view>
			<view class="name">券码：202054546546542132</view>
			<view class="qrcode"></view>
			<view class="btn1" @click="goHome">餐饮订单</view>
			<view class="btn2" @click="goHome">返回首页</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			goHome(){
				uni.navigateTo({
					url: `/pages/2_development/store/home`
				})
			}
		}
	}
</script>

<style lang="scss">
	page {
		background: #f8f8f8;
	}
	.qrcode{
		width: 144px;
		height: 144px;
		background: #333;
		display: block;
		margin: 22px auto 32px;
	}

	.result {
		width: 307px;
		height: 476px;
		display: block;
		margin: 35px auto;
		background-color: #eee;
		padding-top: 20px;
		padding-left: 32px;
		padding-right: 32px;
		.head{
			display: flex;
			align-items: center;
			justify-content: center;
			font-weight: bold;
			font-size: 18px;
			line-height: 1;
			color: #fff
		}
		.icon{
			width: 35px;
			height: 35px;
			margin-right: 18px;
		}
		.name{
			font-weight: bold;
			font-size: 13px;
			line-height: 1;
			text-align: center;
			color: #333;
			margin-top: 16px;
		}
		.desc{
			font-size: 11px;
			line-height: 22px;
			color: #999;
			margin-top: 20px;
			text-align: center;
		}
		.info{
			height: 60px;
			border-radius: 4px;
			background: #f8f8f8;
			border: 1px solid #999;
			margin-top: 16px;
			padding-top: 12px;
			padding-right: 15px;
		}
		.info-item{
			display: flex;
			margin-bottom: 10px;
			.text1{
				width: 57px;
				padding-left: 11px;
				font-size: 13px;
				line-height: 1;
				color: #333;
			}
			.text2{
				flex: 1;
				font-size: 13px;
				line-height: 1;
				color: #999;
				width: 150px;
			}
			.text3{
				font-size: 13px;
				line-height: 1;
				color: #333;
			}
		}
		.btn1{
			height: 32px;
			line-height: 30px;
			text-align: center;
			border-radius: 16px;
			background: #0193ff;
			border: 1px solid #0193ff;
			color: #fff;
			font-size: 16px;
			margin-top: 95px;
		}
		.btn2{
			height: 32px;
			line-height: 30px;
			text-align: center;
			border-radius: 16px;
			background: #fff;
			border: 1px solid #dcdcdc;
			color: #111111;
			font-size: 16px;
			margin-top: 19px;
		}
		
		.err-text{
			font-size: 16px;
			line-height: 1;
			text-align: center;
			color: #999;
			margin-top: 54px;
		}
		.btn3{
			width: 162px;
			margin: 57px auto 0;
		}
	}
</style>
